<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The Yaf_Session class</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="yaf-route-supervar.route.html">« Yaf_Route_Supervar::route</a></li>
      <li style="float: right;"><a href="yaf-session.construct.html">Yaf_Session::__construct »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.yaf.html">Yaf</a></li>
    <li>The Yaf_Session class</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="class.yaf-session" class="reference">

 <h1 class="title">The Yaf_Session class</h1>
 

 <div class="partintro"><p class="verinfo">(Yaf &gt;=1.0.0)</p>


  <div class="section" id="yaf-session.intro">
   <h2 class="title">简介</h2>
   <p class="para">

   </p>
  </div>


  <div class="section" id="yaf-session.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">Yaf_Session</strong>
     </span>
     
     <span class="oointerface"><span class="modifier">implements</span> 
       <a href="class.iterator.html" class="interfacename">Iterator</a></span><span class="oointerface">,  <a href="class.traversable.html" class="interfacename">Traversable</a></span><span class="oointerface">,  <a href="class.arrayaccess.html" class="interfacename">ArrayAccess</a></span><span class="oointerface">,  <a href="class.countable.html" class="interfacename">Countable</a></span> {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">protected</span>
     <span class="modifier">static</span>
      <var class="varname"><a href="class.yaf-session.html#yaf-session.props.instance">$<var class="varname">_instance</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">protected</span>
      <var class="varname"><a href="class.yaf-session.html#yaf-session.props.session">$<var class="varname">_session</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">protected</span>
      <var class="varname"><a href="class.yaf-session.html#yaf-session.props.started">$<var class="varname">_started</var></a></var>;</div>


    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="methodname"><a href="yaf-session.construct.html" class="methodname">__construct</a></span>()</div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.count.html" class="methodname">count</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.current.html" class="methodname">current</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.del.html" class="methodname">del</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.get.html" class="methodname">__get</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><a href="yaf-session.getinstance.html" class="methodname">getInstance</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.has.html" class="methodname">has</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.isset.html" class="methodname">__isset</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.key.html" class="methodname">key</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.next.html" class="methodname">next</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.offsetexists.html" class="methodname">offsetExists</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.offsetget.html" class="methodname">offsetGet</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.offsetset.html" class="methodname">offsetSet</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>, <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.offsetunset.html" class="methodname">offsetUnset</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.rewind.html" class="methodname">rewind</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.set.html" class="methodname">__set</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>, <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.start.html" class="methodname">start</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.unset.html" class="methodname">__unset</a></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="yaf-session.valid.html" class="methodname">valid</a></span>(): <span class="type"><span class="type void">void</span></span></div>

   }</div>


  </div>

  

  <div class="section" id="yaf-session.props">
   <h2 class="title">属性</h2>
   <dl>
    
     <dt id="yaf-session.props.instance"><var class="varname">_instance</var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yaf-session.props.session"><var class="varname">_session</var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yaf-session.props.started"><var class="varname">_started</var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
   </dl>

  </div>



 </div>

 






































































































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="yaf-session.construct.html">Yaf_Session::__construct</a> — The __construct purpose</li><li><a href="yaf-session.count.html">Yaf_Session::count</a> — The count purpose</li><li><a href="yaf-session.current.html">Yaf_Session::current</a> — The current purpose</li><li><a href="yaf-session.del.html">Yaf_Session::del</a> — The del purpose</li><li><a href="yaf-session.get.html">Yaf_Session::__get</a> — The __get purpose</li><li><a href="yaf-session.getinstance.html">Yaf_Session::getInstance</a> — The getInstance purpose</li><li><a href="yaf-session.has.html">Yaf_Session::has</a> — The has purpose</li><li><a href="yaf-session.isset.html">Yaf_Session::__isset</a> — The __isset purpose</li><li><a href="yaf-session.key.html">Yaf_Session::key</a> — The key purpose</li><li><a href="yaf-session.next.html">Yaf_Session::next</a> — The next purpose</li><li><a href="yaf-session.offsetexists.html">Yaf_Session::offsetExists</a> — The offsetExists purpose</li><li><a href="yaf-session.offsetget.html">Yaf_Session::offsetGet</a> — The offsetGet purpose</li><li><a href="yaf-session.offsetset.html">Yaf_Session::offsetSet</a> — The offsetSet purpose</li><li><a href="yaf-session.offsetunset.html">Yaf_Session::offsetUnset</a> — The offsetUnset purpose</li><li><a href="yaf-session.rewind.html">Yaf_Session::rewind</a> — The rewind purpose</li><li><a href="yaf-session.set.html">Yaf_Session::__set</a> — The __set purpose</li><li><a href="yaf-session.start.html">Yaf_Session::start</a> — The start purpose</li><li><a href="yaf-session.unset.html">Yaf_Session::__unset</a> — The __unset purpose</li><li><a href="yaf-session.valid.html">Yaf_Session::valid</a> — The valid purpose</li></ul>
</div>
</div></div></body></html>